package cn.edu.zut.soft.student.service.login;


/**
 * @Author ChrisPhantom
 * @CreatDate 2021/02/14 17:43
 */

public interface LoginBo {

    /*
     * @Param: [username, password]
     * @Return: java.lang.String
     * @Author: ChrisPhantom
     * @Date: 2021/2/14 18:09
     * @Description: 判断用户是否登录成功，返回对应的路径
     */
    public String handleLogin(String username, String password);

    /*
     * @Param: []
     * @Return: java.lang.String
     * @Author: ChrisPhantom
     * @Date: 2021/2/14 18:13
     * @Description: 登出功能，清除session内容
     */
    public String logout();
}
